package question7.test1;

public class SystemArrayCopyDemo {
    public static void main(String[] args) {
        int firstint;
        int count=0;
        int[] arr = {10,27,8,5,2,1,3,55,88};
      /*  for (int i = 0; i < arr.length; i++) {
            if (arr[i]<=10&&arr[i]>=0){
                firstint=i;
                count++;
            }
        }*/
        int[] ints = new int[5];
        System.arraycopy(arr,2,ints,0,5);
        for (int i : ints) {
            System.out.println(i);
        }
    }
}
